
package com.crazyzoo.Lin;
/**
 *@ClassName  Seastar
 *@Author 林雅莉
 *@Description
 *@date 2022/3/17 17:19
 */


public class Seastar {
    private String id;
    private String name;
    private String color;
    private String clothing;
    private String habitat;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getClothing() {
        return clothing;
    }

    public void setClothing(String clothing) {
        this.clothing = clothing;
    }

    public String getHabitat() {
        return habitat;
    }

    public void setHabitat(String habitat) {
        this.habitat = habitat;
    }

    @Override
    public String toString() {
        return  "-------------------------------------" + '\n' +
                "动物类名：Seastar" + '\n' +
                "动物id：" + id + '\n' +
                "动物名称：" + name + '\n' +
                "动物颜色：" + color + '\n' +
                "动物服饰：" + clothing + '\n' +
                "动物栖息地：" + habitat + '\n' ;
    }

    public void speak() {
        System.out.println("要和派大星一起去抓水母吗（*v*）");
    }
}